// 获取所有订单
export const reqOrder = () => request({ url: "/order/all", method: "get" });

// 标记为已完成
export const reqCompleted = (data) =>
  request({ url: "/order/completed", method: "post", data });

// 删除订单
export const reqDeleteOrder = (data) =>
  request({ url: "/order", method: "delete", data });
